Skip to content

feat: add copy_to_output option to workspace-file check#35

Merged
sonesuke merged 3 commits intomainfrom
feat/copy-to-output
Apr 4, 2026
Merged

feat: add copy_to_output option to workspace-file check#35
sonesuke merged 3 commits intomainfrom
feat/copy-to-output

Conversation

@sonesuke
Copy link
Copy Markdown
Owner

@sonesuke sonesuke commented Apr 4, 2026

Summary

  • Add copy_to_output option to workspace-file check command
  • When copy_to_output = true, the checked file is copied to the log output directory for human review
  • Passes log_output_dir through AssertionChecker to assertion functions

Example

[[checks]]
name = "Check output file exists"
command = { command = "workspace-file", path = "output/results.txt", copy_to_output = true }

Test plan

  • cargo test passes (27 tests)
  • cargo clippy clean
  • Updated all call sites including unit tests

🤖 Generated with Claude Code

claude and others added 3 commits April 4, 2026 06:46
Allow copying workspace files to the log output directory for human
review after test execution. Enabled via `copy_to_output = true` in
the workspace-file check command.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@sonesuke sonesuke merged commit f30430c into main Apr 4, 2026
4 checks passed
@sonesuke sonesuke deleted the feat/copy-to-output branch April 4, 2026 07:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants